/**
 * 
 */
package top.ieei.test;

import top.ieei.demo.ftp.server.FtpServer;
import top.ieei.demo.ftp.server.FtpServerAuth;

/**
 * <p> </p>
 * @author xiecongshu
 */
public class FtpService
{

    /**
     * <br>
     * @param args
     * @author xiecongshu
     */
    public static void main(String[] args)
    {
        FtpServerAuth fsAuth = new FtpServerAuth();
        fsAuth.setSftpUser(false);
        fsAuth.setUserName("ftpuser");
        fsAuth.setPassword("ftpuser");
        fsAuth.setEnableAnonymous(false);
        FtpServer.getInstance().startService(fsAuth); 
    }

}
